package cc.io24.knewcafe.blog.dao;

import cc.io24.knewcafe.blog.domain.Post;
import cc.io24.knewcafe.blog.repository.BaseRepository;
import org.springframework.data.repository.query.Param;

import java.util.List;

public interface PostDao  extends BaseRepository<Post, String> {

    List<Post> findAllByTitle(@Param("title") String title);

}
